package com.hundsun.cprs.yyt.service.account.dto;

import com.hundsun.cprs.yyt.service.account.domain.Account;
import com.hundsun.cprs.yyt.util.DateUtil;

public class AccountVo {

    private String fundAccount;

    private String userName;

    //private Long currentQuota;

    private String gmtCreate;

    public AccountVo(Account account){
        this.fundAccount = account.getFundAccount();
        this.userName = account.getUserName();
        //this.currentQuota = account.getCurrentQuota();
        this.gmtCreate = DateUtil.convertDateToString("yyyy-MM-dd HH:mm:ss",account.getGmtCreate());
    }

    public String getFundAccount() {
        return fundAccount;
    }

    public void setFundAccount(String fundAccount) {
        this.fundAccount = fundAccount;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /*public Long getCurrentQuota() {
        return currentQuota;
    }

    public void setCurrentQuota(Long currentQuota) {
        this.currentQuota = currentQuota;
    }*/

    public String getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(String gmtCreate) {
        this.gmtCreate = gmtCreate;
    }
}
